Ext.define('HIT.view.MdataAccountAddPanel', {
    extend: 'Ext.form.Panel',
    alias: 'widget.mdataaccountaddpanel',
    height: 63,
    width: 512,
    overlapHeader: false,
    preventHeader: true,
    title: Share.T('添加票据'),
    layout: {
        type: 'absolute'
    },

    initComponent: function() {
        var me = this;
        Ext.applyIf(me, {
            items: [
               {
                  xtype: 'hiddenfield',
                  id: 'mdata-functionId',
                  value: 1
               },
                {
                    xtype: 'textfield',
                    id : 'addmdataaccountcode',
                    maxLength : 20,
//                    anchor: '100%',
//                    margin: '40 50 10',
                    x: 50,
                    y: 30,
                    width: 350,
                    fieldLabel: Share.T('销方银行账号代码'),
                    allowBlank: false,
                    blankText: Share.T('销方银行账号代码不能为空'),
                    emptyText: Share.T('请输入销方银行账号代码'),
	                   msgTarget  : 'side'
                },
                {
                    xtype: 'textfield',
                    id : 'addmdataaccount',
                    maxLength : 60,
//                    anchor: '100%',
//                    margin: '10 50 10',
                    x: 50,
                    y: 70,
                    width: 350,
                    fieldLabel: Share.T('销方银行账号'),
                    allowBlank: false,
                    blankText: Share.T('销方银行账号不能为空'),
                    emptyText: Share.T('请输入销方银行账号'),
	                   msgTarget  : 'side'
                }            
            ]
        });

        me.callParent(arguments);
    }

});